feat(report): make screenshot consumers format-aware - #3013
Draft
quanru wants to merge 9 commits into
Draft
Conversation
Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
Deploying midscene with
|
| Latest commit: |
8a10df8
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5d8780af.midscene.pages.dev |
| Branch Preview URL: | https://feat-webp-format-aware-consu.midscene.pages.dev |
Resolve report image-store changes against the latest main branch. Keep WebP screenshot references valid in the generalized report schema. Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
This was referenced Aug 26, 2026
Validate encoded screenshot bytes at screenshot boundaries. Avoid eager reads when a screenshot file is already persisted. Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
Merge the Rstest browser encoder test fix from the primitives layer. Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
This was referenced Aug 26, 2026
quanru
marked this pull request as draft
August 27, 2026 09:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Scope
This is P2 of the WebP screenshot stack. It prepares consumers for WebP without changing the Core screenshot production default or the model input default.
Validation
pnpm run lintpnpm --dir packages/shared test(521 passed)pnpm --dir packages/core test(1511 passed, 8 skipped)pnpm --dir apps/report test(109 passed)pnpm exec nx build @midscene/sharedpnpm exec nx build @midscene/corepnpm exec nx build @midscene/reportpnpm --dir packages/web-integration test -- tests/unit-test/browser-webp-encoder-e2e.test.ts(2 passed)Stack
The superseded WebP stacks (#2851–#2855 and #2857–#2859) are closed. #2856 remains independent.